Skip to content

Conversation

HassanBahati
Copy link
Member

This pr adds useFetchSignInMethodsForEmailQuery

Copy link

docs-page bot commented Feb 18, 2025

To view this pull requests documentation preview, visit the following URL:

docs.page/invertase/tanstack-query-firebase~165

Documentation is deployed and generated using docs.page.

@HassanBahati HassanBahati requested a review from Ehesp February 18, 2025 09:20
@HassanBahati HassanBahati force-pushed the useFetchSignInMethodsForEmailQuery branch from b89db13 to 555bdd5 Compare February 18, 2025 12:41
) {
return useQuery<string[], AuthError, void>({
...options,
queryFn: () => fetchSignInMethodsForEmail(auth, email),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The email should be passed as a mutation value

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would this have change to be a mutation?

Currently, this is a query versus mutations for which a user can call a mutate() or a mutateAsync method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants